{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/Twright11/Dropbox/Alabama Project/2012 Update/WrightDiehl_JCRreplication_Jul3_2014.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 3 Jul 2014, 15:34:32

{com}. do "/var/folders/pz/mtzz8mgj46j976s122kk7m840000gp/T//SD01197.000000"
{txt}
{com}. ******************
. *Thorin M. Wright and Paul F. Diehl
. *"Unpacking Territorial Disputes: Domestic Political Influences and War"
. *Journal of Conflict Resolution
. *Replication Script for main article and web appendix
. *June 2014
. ******************
. *Notes on the data:
. *The Senese and Vasquez data used for the Interactions Chapter of "Steps to War" (2008) serves as the MID data for this article
. *The dyad variable this data uses is non-directional, as are the dispute observations themselves (there is only one observation per dyad-dispute number), 
. *but ccode1 and ccode2 variables are set up as side a and side b.
. 
. *The analyses are split between an analysis of the 1816-2001 period and the 1946-1999 period, utilizing Jessica Weeks' (2012) replication data
. *In order to make the data as clear and user-friendly as possible, we have split the analysis such that the first dataset used is the 1816-2001 
. *for our initial hypotheses, following those are the analyses using the Weeks data that covers only 1946-1999.
. 
. 
. clear
{txt}
{com}. set more off
{txt}
{com}. 
. cd "/Users/Twright11/Dropbox/Alabama Project/2012 Update"
{res}/Users/Twright11/Dropbox/Alabama Project/2012 Update
{txt}
{com}. 
. use "Wright_Diehl_2014_JCR_1816-2001.dta"
{txt}
{com}. 
. 
. **Table 1
. 
. **descriptive breakdown of territorial MIDs and war within 5 years
. 
. tab mixed cow5yrwi if territor==1 & terrXmixed !=. & territor !=. &  terrXdem !=. &  jtdem !=. &  caprat !=. &  terrcount !=. &  rival !=., expected row chi2
{txt}
{c TLC}{hline 20}{c TRC}
{c |} Key{col 22}{c |}
{c LT}{hline 20}{c RT}
{c |}{space 5}{it:frequency}{col 22}{c |}
{c |}{space 1}{it:expected frequency}{col 22}{c |}
{c |}{space 3}{it:row percentage}{col 22}{c |}
{c BLC}{hline 20}{c BRC}

    only 1 {c |}
 state a 6 {c |} War within 5 year of
  or above {c |}      current MID
on polity2 {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       418        120 {txt}{c |}{res}       538 
           {txt}{c |}{res}     397.4      140.6 {txt}{c |}{res}     538.0 
           {txt}{c |}{res}     77.70      22.30 {txt}{c |}{res}    100.00 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}       286        129 {txt}{c |}{res}       415 
           {txt}{c |}{res}     306.6      108.4 {txt}{c |}{res}     415.0 
           {txt}{c |}{res}     68.92      31.08 {txt}{c |}{res}    100.00 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       704        249 {txt}{c |}{res}       953 
           {txt}{c |}{res}     704.0      249.0 {txt}{c |}{res}     953.0 
           {txt}{c |}{res}     73.87      26.13 {txt}{c |}{res}    100.00 

{txt}          Pearson chi2({res}1{txt}) = {res}  9.3560  {txt} Pr = {res}0.002
{txt}
{com}. 
. tab jtauto cow5yrwi if territor==1 & terrXmixed !=. & territor !=. &  terrXdem !=. &  jtdem !=. &  caprat !=. &  terrcount !=. &  rival !=., expected row chi2
{txt}
{c TLC}{hline 20}{c TRC}
{c |} Key{col 22}{c |}
{c LT}{hline 20}{c RT}
{c |}{space 5}{it:frequency}{col 22}{c |}
{c |}{space 1}{it:expected frequency}{col 22}{c |}
{c |}{space 3}{it:row percentage}{col 22}{c |}
{c BLC}{hline 20}{c BRC}

    1=both {c |}
  states 5 {c |} War within 5 year of
  or below {c |}      current MID
on polity2 {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       353        129 {txt}{c |}{res}       482 
           {txt}{c |}{res}     356.1      125.9 {txt}{c |}{res}     482.0 
           {txt}{c |}{res}     73.24      26.76 {txt}{c |}{res}    100.00 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}       351        120 {txt}{c |}{res}       471 
           {txt}{c |}{res}     347.9      123.1 {txt}{c |}{res}     471.0 
           {txt}{c |}{res}     74.52      25.48 {txt}{c |}{res}    100.00 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       704        249 {txt}{c |}{res}       953 
           {txt}{c |}{res}     704.0      249.0 {txt}{c |}{res}     953.0 
           {txt}{c |}{res}     73.87      26.13 {txt}{c |}{res}    100.00 

{txt}          Pearson chi2({res}1{txt}) = {res}  0.2040  {txt} Pr = {res}0.651
{txt}
{com}. 
. tab jtdem cow5yrwi if territor==1 & terrXmixed !=. & territor !=. &  terrXdem !=. &  jtdem !=. &  caprat !=. &  terrcount !=. &  rival !=., expected row chi2
{txt}
{c TLC}{hline 20}{c TRC}
{c |} Key{col 22}{c |}
{c LT}{hline 20}{c RT}
{c |}{space 5}{it:frequency}{col 22}{c |}
{c |}{space 1}{it:expected frequency}{col 22}{c |}
{c |}{space 3}{it:row percentage}{col 22}{c |}
{c BLC}{hline 20}{c BRC}

    1=both {c |}
  states 6 {c |} War within 5 year of
  or above {c |}      current MID
on polity2 {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       637        249 {txt}{c |}{res}       886 
           {txt}{c |}{res}     654.5      231.5 {txt}{c |}{res}     886.0 
           {txt}{c |}{res}     71.90      28.10 {txt}{c |}{res}    100.00 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}        67          0 {txt}{c |}{res}        67 
           {txt}{c |}{res}      49.5       17.5 {txt}{c |}{res}      67.0 
           {txt}{c |}{res}    100.00       0.00 {txt}{c |}{res}    100.00 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       704        249 {txt}{c |}{res}       953 
           {txt}{c |}{res}     704.0      249.0 {txt}{c |}{res}     953.0 
           {txt}{c |}{res}     73.87      26.13 {txt}{c |}{res}    100.00 

{txt}          Pearson chi2({res}1{txt}) = {res} 25.4895  {txt} Pr = {res}0.000
{txt}
{com}. 
. 
. *Table 2
. logit cow5yrwi mixed terrXmixed territor  jtdem caprat terrcount rival 

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-1200.4873}  
Iteration 1:{space 3}log likelihood = {res:-1110.3664}  
Iteration 2:{space 3}log likelihood = {res:-1096.8527}  
Iteration 3:{space 3}log likelihood = {res:  -1095.22}  
Iteration 4:{space 3}log likelihood = {res:   -1095.1}  
Iteration 5:{space 3}log likelihood = {res:-1095.0996}  
Iteration 6:{space 3}log likelihood = {res:-1095.0996}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}      2788
{txt}{col 51}LR chi2({res}7{txt}){col 67}= {res}    210.78
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-1095.0996{txt}{col 51}Pseudo R2{col 67}= {res}    0.0878

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2}-.5247628{col 26}{space 2} .1616289{col 37}{space 1}   -3.25{col 46}{space 3}0.001{col 54}{space 4}-.8415496{col 67}{space 3}-.2079761
{txt}{space 2}terrXmixed {c |}{col 14}{res}{space 2} .7691273{col 26}{space 2} .2204754{col 37}{space 1}    3.49{col 46}{space 3}0.000{col 54}{space 4} .3370034{col 67}{space 3} 1.201251
{txt}{space 4}territor {c |}{col 14}{res}{space 2} .7381338{col 26}{space 2} .1498886{col 37}{space 1}    4.92{col 46}{space 3}0.000{col 54}{space 4} .4443575{col 67}{space 3}  1.03191
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2}-3.890906{col 26}{space 2} 1.006629{col 37}{space 1}   -3.87{col 46}{space 3}0.000{col 54}{space 4}-5.863862{col 67}{space 3}-1.917949
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .3883528{col 26}{space 2} .1999181{col 37}{space 1}    1.94{col 46}{space 3}0.052{col 54}{space 4}-.0034796{col 67}{space 3} .7801851
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2} .0222703{col 26}{space 2} .0092723{col 37}{space 1}    2.40{col 46}{space 3}0.016{col 54}{space 4} .0040969{col 67}{space 3} .0404438
{txt}{space 7}rival {c |}{col 14}{res}{space 2} -.224471{col 26}{space 2} .1241032{col 37}{space 1}   -1.81{col 46}{space 3}0.070{col 54}{space 4}-.4677088{col 67}{space 3} .0187667
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.895129{col 26}{space 2} .1352207{col 37}{space 1}  -14.02{col 46}{space 3}0.000{col 54}{space 4}-2.160157{col 67}{space 3}-1.630101
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. logit cow5yrwi mixed terrXmixed territor jtdem caprat terrcount  if rival==1

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-813.85104}  
Iteration 1:{space 3}log likelihood = {res:-750.18505}  
Iteration 2:{space 3}log likelihood = {res:-740.47683}  
Iteration 3:{space 3}log likelihood = {res: -739.4729}  
Iteration 4:{space 3}log likelihood = {res:-739.43103}  
Iteration 5:{space 3}log likelihood = {res:-739.43089}  
Iteration 6:{space 3}log likelihood = {res:-739.43089}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}      1892
{txt}{col 51}LR chi2({res}6{txt}){col 67}= {res}    148.84
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-739.43089{txt}{col 51}Pseudo R2{col 67}= {res}    0.0914

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2}-.7585778{col 26}{space 2} .1996065{col 37}{space 1}   -3.80{col 46}{space 3}0.000{col 54}{space 4}-1.149799{col 67}{space 3}-.3673563
{txt}{space 2}terrXmixed {c |}{col 14}{res}{space 2} 1.245352{col 26}{space 2} .2696131{col 37}{space 1}    4.62{col 46}{space 3}0.000{col 54}{space 4} .7169203{col 67}{space 3} 1.773784
{txt}{space 4}territor {c |}{col 14}{res}{space 2} .2837482{col 26}{space 2} .1880988{col 37}{space 1}    1.51{col 46}{space 3}0.131{col 54}{space 4}-.0849186{col 67}{space 3}  .652415
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2}-3.565395{col 26}{space 2} 1.009044{col 37}{space 1}   -3.53{col 46}{space 3}0.000{col 54}{space 4}-5.543085{col 67}{space 3}-1.587704
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .7278437{col 26}{space 2} .2406668{col 37}{space 1}    3.02{col 46}{space 3}0.002{col 54}{space 4} .2561454{col 67}{space 3} 1.199542
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2} .0220681{col 26}{space 2} .0095193{col 37}{space 1}    2.32{col 46}{space 3}0.020{col 54}{space 4} .0034106{col 67}{space 3} .0407257
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.027511{col 26}{space 2} .1551223{col 37}{space 1}  -13.07{col 46}{space 3}0.000{col 54}{space 4}-2.331545{col 67}{space 3}-1.723477
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. logit cowwar mixed terrXmixed territor  jtdem caprat terrcount  rival

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-774.66633}  
Iteration 1:{space 3}log likelihood = {res:-715.35469}  
Iteration 2:{space 3}log likelihood = {res:-703.82977}  
Iteration 3:{space 3}log likelihood = {res:-703.02532}  
Iteration 4:{space 3}log likelihood = {res:-703.01281}  
Iteration 5:{space 3}log likelihood = {res:-703.01277}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}      2788
{txt}{col 51}LR chi2({res}7{txt}){col 67}= {res}    143.31
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-703.01277{txt}{col 51}Pseudo R2{col 67}= {res}    0.0925

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2}-.4443644{col 26}{space 2} .2316273{col 37}{space 1}   -1.92{col 46}{space 3}0.055{col 54}{space 4}-.8983455{col 67}{space 3} .0096167
{txt}{space 2}terrXmixed {c |}{col 14}{res}{space 2} .5546856{col 26}{space 2} .2980708{col 37}{space 1}    1.86{col 46}{space 3}0.063{col 54}{space 4}-.0295224{col 67}{space 3} 1.138894
{txt}{space 4}territor {c |}{col 14}{res}{space 2} 1.187318{col 26}{space 2}  .196629{col 37}{space 1}    6.04{col 46}{space 3}0.000{col 54}{space 4} .8019323{col 67}{space 3} 1.572704
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2} -2.97993{col 26}{space 2} 1.008705{col 37}{space 1}   -2.95{col 46}{space 3}0.003{col 54}{space 4}-4.956956{col 67}{space 3}-1.002905
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .2079662{col 26}{space 2} .2665295{col 37}{space 1}    0.78{col 46}{space 3}0.435{col 54}{space 4} -.314422{col 67}{space 3} .7303544
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}-.0306176{col 26}{space 2} .0165259{col 37}{space 1}   -1.85{col 46}{space 3}0.064{col 54}{space 4}-.0630078{col 67}{space 3} .0017725
{txt}{space 7}rival {c |}{col 14}{res}{space 2}-.6842746{col 26}{space 2} .1574128{col 37}{space 1}   -4.35{col 46}{space 3}0.000{col 54}{space 4}-.9927979{col 67}{space 3}-.3757512
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.395384{col 26}{space 2}  .174298{col 37}{space 1}  -13.74{col 46}{space 3}0.000{col 54}{space 4}-2.737002{col 67}{space 3}-2.053766
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. logit cowwar mixed terrXmixed territor  jtdem caprat terrcount  if rival==1

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-447.05916}  
Iteration 1:{space 3}log likelihood = {res:-423.53737}  
Iteration 2:{space 3}log likelihood = {res:-419.53164}  
Iteration 3:{space 3}log likelihood = {res:-419.36216}  
Iteration 4:{space 3}log likelihood = {res:-419.36113}  
Iteration 5:{space 3}log likelihood = {res:-419.36113}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}      1892
{txt}{col 51}LR chi2({res}6{txt}){col 67}= {res}     55.40
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-419.36113{txt}{col 51}Pseudo R2{col 67}= {res}    0.0620

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2}-.9532662{col 26}{space 2} .3180909{col 37}{space 1}   -3.00{col 46}{space 3}0.003{col 54}{space 4}-1.576713{col 67}{space 3}-.3298195
{txt}{space 2}terrXmixed {c |}{col 14}{res}{space 2} 1.295121{col 26}{space 2} .4056378{col 37}{space 1}    3.19{col 46}{space 3}0.001{col 54}{space 4} .5000856{col 67}{space 3} 2.090156
{txt}{space 4}territor {c |}{col 14}{res}{space 2} .4806057{col 26}{space 2} .2636029{col 37}{space 1}    1.82{col 46}{space 3}0.068{col 54}{space 4}-.0360465{col 67}{space 3} .9972579
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2}-2.477201{col 26}{space 2} 1.012943{col 37}{space 1}   -2.45{col 46}{space 3}0.014{col 54}{space 4}-4.462532{col 67}{space 3}  -.49187
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .5119404{col 26}{space 2} .3462183{col 37}{space 1}    1.48{col 46}{space 3}0.139{col 54}{space 4} -.166635{col 67}{space 3} 1.190516
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}-.0243664{col 26}{space 2} .0166069{col 37}{space 1}   -1.47{col 46}{space 3}0.142{col 54}{space 4}-.0569152{col 67}{space 3} .0081825
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.790851{col 26}{space 2} .2212096{col 37}{space 1}  -12.62{col 46}{space 3}0.000{col 54}{space 4}-3.224414{col 67}{space 3}-2.357288
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. 
. *Figure 1 Probabilities (and First Differences, Figure 1 in Appendix)
. 
. 
. estsimp logit cow5yrwi mixed terrXmixed territor jtdem caprat terrcount if rival==1

{txt}Iteration 0:   log likelihood = {res}-813.85104
{txt}Iteration 1:   log likelihood = {res}-750.18505
{txt}Iteration 2:   log likelihood = {res}-740.77566
{txt}Iteration 3:   log likelihood = {res}-739.61526
{txt}Iteration 4:   log likelihood = {res}-739.43915
{txt}Iteration 5:   log likelihood = {res}-739.43092
{txt}Iteration 6:   log likelihood = {res}-739.43089

{txt}Logistic regression                               Number of obs   = {res}      1892
                                                  {txt}LR chi2({res}6{txt})      = {res}    148.84
                                                  {txt}Prob > chi2     = {res}    0.0000
{txt}Log likelihood = {res}-739.43089                       {txt}Pseudo R2       = {res}    0.0914

{txt}{hline 13}{c TT}{hline 64}
    cow5yrwi {c |}      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
{hline 13}{c +}{hline 64}
       mixed {c |}  {res}-.7585778   .1996065    -3.80   0.000    -1.149799   -.3673563
  {txt}terrXmixed {c |}  {res} 1.245352   .2696131     4.62   0.000     .7169204    1.773784
    {txt}territor {c |}  {res} .2837482   .1880988     1.51   0.131    -.0849186     .652415
       {txt}jtdem {c |}  {res}-3.565395    1.00903    -3.53   0.000    -5.543058   -1.587731
      {txt}caprat {c |}  {res} .7278437   .2406668     3.02   0.002     .2561454    1.199542
   {txt}terrcount {c |}  {res} .0220681   .0095193     2.32   0.020     .0034106    .0407257
       {txt}_cons {c |}  {res}-2.027511   .1551223   -13.07   0.000    -2.331545   -1.723477
{txt}{hline 13}{c BT}{hline 64}

{res}Simulating main parameters.  Please wait....
% of simulations completed: 14% 28% 42% 57% 71% 85% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4 b5 b6 b7
{txt}
{com}. 
. *base (non-territorial, jtauto)
. setx mixed 0 territor 0 terrXmixed 0  jtdem 0 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, pr level(90)

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(cow5yrwi=0) |  {res} .8432485     .0168295      .814502    .8700923
            {txt}Pr(cow5yrwi=1) |  {res} .1567515     .0168295     .1299077     .185498
{txt}
{com}. 
. 
. *territorial, mixed
. setx mixed 1 territor 1 terrXmixed 1 jtdem 0 caprat (mean)  terrcount (mean)
{txt}
{com}. simqi, pr level(90)

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(cow5yrwi=0) |  {res} .7123787     .0267787     .6682661    .7539838
            {txt}Pr(cow5yrwi=1) |  {res} .2876213     .0267787     .2460162    .3317338
{txt}
{com}. 
. *territorial, jtauto
. setx mixed 0 territor 1 terrXmixed 0 jtdem 0 caprat (mean)  terrcount (mean)
{txt}
{com}. simqi, pr level(90)

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(cow5yrwi=0) |  {res} .8014169     .0214001     .7631551    .8349412
            {txt}Pr(cow5yrwi=1) |  {res} .1985831     .0214001     .1650588    .2368449
{txt}
{com}. 
. *non-territorial, mixed
. setx mixed 1 territor 0 terrXmixed 0 jtdem 0 caprat (mean)  terrcount (mean)
{txt}
{com}. simqi, pr level(90)

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(cow5yrwi=0) |  {res} .9195945     .0112902     .9004043    .9367419
            {txt}Pr(cow5yrwi=1) |  {res} .0804055     .0112902     .0632581    .0995957
{txt}
{com}. 
. *non-territorial jtdem
. setx mixed 0 territor 0 terrXmixed 0 jtdem 1 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, pr level(90)

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(cow5yrwi=0) |  {res} .9921169     .0091682     .9761234    .9989911
            {txt}Pr(cow5yrwi=1) |  {res} .0078831     .0091682     .0010089    .0238766
{txt}
{com}. 
. 
. *first differences in probablity of war in 5 years. 
. setx mixed 0 territor 0 terrXmixed 0 jtdem 0 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, fd(prval(1))  changex(territor 0 1) level(90)

{res}First Difference: territor 0 1

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(cow5yrwi = 1) |  {res} .0418317     .0274199    -.0025836    .0886695
{txt}
{com}. 
. setx mixed 0 territor 1 terrXmixed 0 jtdem 0 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, fd(prval(1))  changex(terrXmixed 0 1  mixed 0 1) level(90)

{res}First Difference: terrXmixed 0 1  mixed 0 1

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(cow5yrwi = 1) |  {res} .0890381      .033712     .0333942    .1457428
{txt}
{com}. 
. setx mixed 1 territor 0 terrXmixed 0 jtdem 0 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, fd(prval(1))  changex(terrXmixed 0 1  territor 0 1) level(90)

{res}First Difference: terrXmixed 0 1  territor 0 1

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(cow5yrwi = 1) |  {res} .2072158     .0287743      .159199    .2545845
{txt}
{com}. 
. setx mixed 0 territor 0 terrXmixed 0 jtdem 0 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, fd(prval(1))  changex(jtdem 0 1) level(90)

{res}First Difference: jtdem 0 1

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(cow5yrwi = 1) |  {res}-.1488684     .0188057    -.1773233    -.119102
{txt}
{com}. 
. setx mixed 0 territor 0 terrXmixed 0 jtdem 0 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, fd(prval(1))  changex(territor 0 1 terrXmixed 0 1 mixed 0 1) level(90)

{res}First Difference: territor 0 1 terrXmixed 0 1 mixed 0 1

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(cow5yrwi = 1) |  {res} .1308698     .0329956     .0790765    .1841898
{txt}
{com}. 
. drop b1 b2 b3 b4 b5 b6 b7 
{txt}
{com}. 
. 
. 
. *Appendix Table 1
. 
. logit cow5yrwi mixed caprat terrcount if territor==1

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-547.39527}  
Iteration 1:{space 3}log likelihood = {res:-542.34052}  
Iteration 2:{space 3}log likelihood = {res:-542.32346}  
Iteration 3:{space 3}log likelihood = {res:-542.32346}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       953
{txt}{col 51}LR chi2({res}3{txt}){col 67}= {res}     10.14
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0174
{txt}Log likelihood = {res}-542.32346{txt}{col 51}Pseudo R2{col 67}= {res}    0.0093

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2} .4377849{col 26}{space 2}  .149937{col 37}{space 1}    2.92{col 46}{space 3}0.004{col 54}{space 4} .1439138{col 67}{space 3}  .731656
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .0550355{col 26}{space 2} .2764666{col 37}{space 1}    0.20{col 46}{space 3}0.842{col 54}{space 4} -.486829{col 67}{space 3}    .5969
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2} .0080554{col 26}{space 2} .0096458{col 37}{space 1}    0.84{col 46}{space 3}0.404{col 54}{space 4}-.0108501{col 67}{space 3} .0269609
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.308671{col 26}{space 2} .1441874{col 37}{space 1}   -9.08{col 46}{space 3}0.000{col 54}{space 4}-1.591273{col 67}{space 3}-1.026069
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. logit cow5yrwi mixed  caprat terrcount if territor==1 & rival==1

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-386.35117}  
Iteration 1:{space 3}log likelihood = {res: -374.8742}  
Iteration 2:{space 3}log likelihood = {res: -374.7364}  
Iteration 3:{space 3}log likelihood = {res:-374.73638}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       698
{txt}{col 51}LR chi2({res}3{txt}){col 67}= {res}     23.23
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-374.73638{txt}{col 51}Pseudo R2{col 67}= {res}    0.0301

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2} .7068064{col 26}{space 2} .1828394{col 37}{space 1}    3.87{col 46}{space 3}0.000{col 54}{space 4} .3484478{col 67}{space 3} 1.065165
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .6845167{col 26}{space 2} .3315668{col 37}{space 1}    2.06{col 46}{space 3}0.039{col 54}{space 4} .0346578{col 67}{space 3} 1.334376
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2} .0142966{col 26}{space 2} .0104102{col 37}{space 1}    1.37{col 46}{space 3}0.170{col 54}{space 4}-.0061071{col 67}{space 3} .0347003
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.875191{col 26}{space 2} .1985703{col 37}{space 1}   -9.44{col 46}{space 3}0.000{col 54}{space 4}-2.264381{col 67}{space 3}   -1.486
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. logit cowwar mixed caprat terrcount if territor==1

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-394.15368}  
Iteration 1:{space 3}log likelihood = {res:-384.16202}  
Iteration 2:{space 3}log likelihood = {res:-383.57279}  
Iteration 3:{space 3}log likelihood = {res:-383.57153}  
Iteration 4:{space 3}log likelihood = {res:-383.57153}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       953
{txt}{col 51}LR chi2({res}3{txt}){col 67}= {res}     21.16
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0001
{txt}Log likelihood = {res}-383.57153{txt}{col 51}Pseudo R2{col 67}= {res}    0.0268

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2} .1917505{col 26}{space 2} .1878083{col 37}{space 1}    1.02{col 46}{space 3}0.307{col 54}{space 4} -.176347{col 67}{space 3}  .559848
{txt}{space 6}caprat {c |}{col 14}{res}{space 2}-.4930154{col 26}{space 2} .3615841{col 37}{space 1}   -1.36{col 46}{space 3}0.173{col 54}{space 4}-1.201707{col 67}{space 3} .2156764
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}-.0635902{col 26}{space 2} .0188146{col 37}{space 1}   -3.38{col 46}{space 3}0.001{col 54}{space 4}-.1004661{col 67}{space 3}-.0267143
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.405366{col 26}{space 2}  .174474{col 37}{space 1}   -8.05{col 46}{space 3}0.000{col 54}{space 4}-1.747329{col 67}{space 3}-1.063403
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. logit cowwar mixed  caprat terrcount if territor==1 & rival==1

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-229.53318}  
Iteration 1:{space 3}log likelihood = {res:-226.00364}  
Iteration 2:{space 3}log likelihood = {res:-225.90856}  
Iteration 3:{space 3}log likelihood = {res:-225.90835}  
Iteration 4:{space 3}log likelihood = {res:-225.90835}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       698
{txt}{col 51}LR chi2({res}3{txt}){col 67}= {res}      7.25
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0644
{txt}Log likelihood = {res}-225.90835{txt}{col 51}Pseudo R2{col 67}= {res}    0.0158

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2} .4775699{col 26}{space 2}  .254776{col 37}{space 1}    1.87{col 46}{space 3}0.061{col 54}{space 4}-.0217819{col 67}{space 3} .9769216
{txt}{space 6}caprat {c |}{col 14}{res}{space 2}  .244247{col 26}{space 2} .4662073{col 37}{space 1}    0.52{col 46}{space 3}0.600{col 54}{space 4}-.6695025{col 67}{space 3} 1.157996
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}-.0370159{col 26}{space 2} .0185406{col 37}{space 1}   -2.00{col 46}{space 3}0.046{col 54}{space 4}-.0733548{col 67}{space 3}-.0006769
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.260105{col 26}{space 2} .2695283{col 37}{space 1}   -8.39{col 46}{space 3}0.000{col 54}{space 4}-2.788371{col 67}{space 3}-1.731839
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. *Penalized Logits from Appendix
. 
. *Appendix Table 2
. 
. firthlogit cow5yrwi mixed terrXmixed territor terrXdem jtdem caprat terrcount rival

{txt}initial:       penalized log likelihood = {res}-1180.7656
{txt}rescale:       penalized log likelihood = {res}-1180.7656
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-1180.7656{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-1091.2574{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-1078.8177{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-1077.7498{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-1077.7344{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-1077.7344{txt}  

{col 51}Number of obs{col 67}= {res}      2788
{txt}{col 51}Wald chi2({res}8{txt}){col 67}= {res}    158.13
{txt}Penalized log likelihood = {res}-1077.7344{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2}-.5158828{col 26}{space 2} .1613234{col 37}{space 1}   -3.20{col 46}{space 3}0.001{col 54}{space 4}-.8320709{col 67}{space 3}-.1996946
{txt}{space 2}terrXmixed {c |}{col 14}{res}{space 2} .7521779{col 26}{space 2} .2201497{col 37}{space 1}    3.42{col 46}{space 3}0.001{col 54}{space 4} .3206925{col 67}{space 3} 1.183663
{txt}{space 4}territor {c |}{col 14}{res}{space 2} .7468243{col 26}{space 2} .1498822{col 37}{space 1}    4.98{col 46}{space 3}0.000{col 54}{space 4} .4530606{col 67}{space 3} 1.040588
{txt}{space 4}terrXdem {c |}{col 14}{res}{space 2}-1.323205{col 26}{space 2} 1.647991{col 37}{space 1}   -0.80{col 46}{space 3}0.422{col 54}{space 4}-4.553208{col 67}{space 3} 1.906797
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2}-2.684503{col 26}{space 2} .8273092{col 37}{space 1}   -3.24{col 46}{space 3}0.001{col 54}{space 4}-4.305999{col 67}{space 3}-1.063007
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .3884477{col 26}{space 2}  .199517{col 37}{space 1}    1.95{col 46}{space 3}0.052{col 54}{space 4}-.0025984{col 67}{space 3} .7794938
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2} .0227296{col 26}{space 2} .0092498{col 37}{space 1}    2.46{col 46}{space 3}0.014{col 54}{space 4} .0046004{col 67}{space 3} .0408589
{txt}{space 7}rival {c |}{col 14}{res}{space 2}-.2266737{col 26}{space 2} .1238214{col 37}{space 1}   -1.83{col 46}{space 3}0.067{col 54}{space 4}-.4693592{col 67}{space 3} .0160117
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.893811{col 26}{space 2} .1351095{col 37}{space 1}  -14.02{col 46}{space 3}0.000{col 54}{space 4}-2.158621{col 67}{space 3}-1.629001
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. firthlogit cow5yrwi mixed terrXmixed territor terrXdem jtdem caprat terrcount if rival==1

{txt}initial:       penalized log likelihood = {res}-797.61051
{txt}rescale:       penalized log likelihood = {res}-797.61051
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-797.61051{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-734.85602{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-725.90674{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-725.36547{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-725.35795{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-725.35795{txt}  

{col 51}Number of obs{col 67}= {res}      1892
{txt}{col 51}Wald chi2({res}7{txt}){col 67}= {res}    111.48
{txt}Penalized log likelihood = {res}-725.35795{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2}-.7459313{col 26}{space 2} .1990011{col 37}{space 1}   -3.75{col 46}{space 3}0.000{col 54}{space 4}-1.135966{col 67}{space 3}-.3558964
{txt}{space 2}terrXmixed {c |}{col 14}{res}{space 2} 1.219306{col 26}{space 2} .2690375{col 37}{space 1}    4.53{col 46}{space 3}0.000{col 54}{space 4} .6920018{col 67}{space 3} 1.746609
{txt}{space 4}territor {c |}{col 14}{res}{space 2} .2981192{col 26}{space 2} .1880412{col 37}{space 1}    1.59{col 46}{space 3}0.113{col 54}{space 4}-.0704349{col 67}{space 3} .6666732
{txt}{space 4}terrXdem {c |}{col 14}{res}{space 2}-1.061376{col 26}{space 2} 1.655164{col 37}{space 1}   -0.64{col 46}{space 3}0.521{col 54}{space 4}-4.305439{col 67}{space 3} 2.182686
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2}-2.498888{col 26}{space 2} .8326986{col 37}{space 1}   -3.00{col 46}{space 3}0.003{col 54}{space 4}-4.130948{col 67}{space 3}-.8668289
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .7250025{col 26}{space 2} .2400328{col 37}{space 1}    3.02{col 46}{space 3}0.003{col 54}{space 4} .2545469{col 67}{space 3} 1.195458
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2} .0225378{col 26}{space 2} .0094922{col 37}{space 1}    2.37{col 46}{space 3}0.018{col 54}{space 4} .0039334{col 67}{space 3} .0411423
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.027642{col 26}{space 2} .1550737{col 37}{space 1}  -13.08{col 46}{space 3}0.000{col 54}{space 4}-2.331581{col 67}{space 3}-1.723704
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. firthlogit cowwar mixed terrXmixed territor terrXdem jtdem caprat terrcount rival

{txt}initial:       penalized log likelihood = {res}-757.54779
{txt}rescale:       penalized log likelihood = {res}-757.54779
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-757.54779{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-700.28215{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-688.19985{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-687.90505{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-687.90146{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-687.90145{txt}  

{col 51}Number of obs{col 67}= {res}      2788
{txt}{col 51}Wald chi2({res}8{txt}){col 67}= {res}    118.10
{txt}Penalized log likelihood = {res}-687.90145{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2}-.4267259{col 26}{space 2} .2307776{col 37}{space 1}   -1.85{col 46}{space 3}0.064{col 54}{space 4}-.8790416{col 67}{space 3} .0255899
{txt}{space 2}terrXmixed {c |}{col 14}{res}{space 2} .5292835{col 26}{space 2} .2971655{col 37}{space 1}    1.78{col 46}{space 3}0.075{col 54}{space 4}-.0531502{col 67}{space 3} 1.111717
{txt}{space 4}territor {c |}{col 14}{res}{space 2} 1.198245{col 26}{space 2} .1968428{col 37}{space 1}    6.09{col 46}{space 3}0.000{col 54}{space 4} .8124399{col 67}{space 3}  1.58405
{txt}{space 4}terrXdem {c |}{col 14}{res}{space 2}-1.308482{col 26}{space 2} 1.653254{col 37}{space 1}   -0.79{col 46}{space 3}0.429{col 54}{space 4}-4.548799{col 67}{space 3} 1.931836
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2}-1.786524{col 26}{space 2} .8339788{col 37}{space 1}   -2.14{col 46}{space 3}0.032{col 54}{space 4}-3.421092{col 67}{space 3}-.1519552
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .2139542{col 26}{space 2} .2656959{col 37}{space 1}    0.81{col 46}{space 3}0.421{col 54}{space 4}-.3068003{col 67}{space 3} .7347087
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}-.0285325{col 26}{space 2} .0163385{col 37}{space 1}   -1.75{col 46}{space 3}0.081{col 54}{space 4}-.0605554{col 67}{space 3} .0034903
{txt}{space 7}rival {c |}{col 14}{res}{space 2}-.6879534{col 26}{space 2} .1569496{col 37}{space 1}   -4.38{col 46}{space 3}0.000{col 54}{space 4}-.9955689{col 67}{space 3}-.3803379
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.394416{col 26}{space 2} .1743511{col 37}{space 1}  -13.73{col 46}{space 3}0.000{col 54}{space 4}-2.736138{col 67}{space 3}-2.052694
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. firthlogit cowwar mixed terrXmixed territor terrXdem jtdem caprat terrcount if rival==1

{txt}initial:       penalized log likelihood = {res}-433.96725
{txt}rescale:       penalized log likelihood = {res}-433.96725
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-433.96725{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-411.57107{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-407.91221{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-407.87045{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-407.87034{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-407.87034{txt}  

{col 51}Number of obs{col 67}= {res}      1892
{txt}{col 51}Wald chi2({res}7{txt}){col 67}= {res}     42.03
{txt}Penalized log likelihood = {res}-407.87034{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2}-.9215409{col 26}{space 2} .3148011{col 37}{space 1}   -2.93{col 46}{space 3}0.003{col 54}{space 4} -1.53854{col 67}{space 3}-.3045422
{txt}{space 2}terrXmixed {c |}{col 14}{res}{space 2} 1.246501{col 26}{space 2} .4025681{col 37}{space 1}    3.10{col 46}{space 3}0.002{col 54}{space 4} .4574818{col 67}{space 3}  2.03552
{txt}{space 4}territor {c |}{col 14}{res}{space 2} .5007741{col 26}{space 2} .2633274{col 37}{space 1}    1.90{col 46}{space 3}0.057{col 54}{space 4}-.0153381{col 67}{space 3} 1.016886
{txt}{space 4}terrXdem {c |}{col 14}{res}{space 2}-.7482389{col 26}{space 2} 1.664879{col 37}{space 1}   -0.45{col 46}{space 3}0.653{col 54}{space 4}-4.011342{col 67}{space 3} 2.514865
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2}-1.557617{col 26}{space 2} .8421009{col 37}{space 1}   -1.85{col 46}{space 3}0.064{col 54}{space 4}-3.208104{col 67}{space 3} .0928706
{txt}{space 6}caprat {c |}{col 14}{res}{space 2}  .517115{col 26}{space 2} .3446522{col 37}{space 1}    1.50{col 46}{space 3}0.134{col 54}{space 4}-.1583909{col 67}{space 3} 1.192621
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}-.0222268{col 26}{space 2} .0164191{col 37}{space 1}   -1.35{col 46}{space 3}0.176{col 54}{space 4}-.0544077{col 67}{space 3} .0099542
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.790363{col 26}{space 2}  .221285{col 37}{space 1}  -12.61{col 46}{space 3}0.000{col 54}{space 4}-3.224074{col 67}{space 3}-2.356653
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. *Appendix Table 3
. 
. 
. firthlogit cow5yrwi mixed jtdem caprat terrcount rival if territor==1

{txt}initial:       penalized log likelihood = {res}-534.06599
{txt}rescale:       penalized log likelihood = {res}-534.06599
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-534.06599{txt}  
Iteration 1:{col 16}penalized log likelihood = {res} -510.0874{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-506.32585{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-505.99713{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-505.99205{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-505.99204{txt}  

{col 51}Number of obs{col 67}= {res}       953
{txt}{col 51}Wald chi2({res}5{txt}){col 67}= {res}     25.67
{txt}Penalized log likelihood = {res}-505.99204{txt}{col 51}Prob > chi2{col 67}= {res}    0.0001

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2} .2425554{col 26}{space 2} .1543636{col 37}{space 1}    1.57{col 46}{space 3}0.116{col 54}{space 4}-.0599917{col 67}{space 3} .5451024
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2} -4.02418{col 26}{space 2} 1.426217{col 37}{space 1}   -2.82{col 46}{space 3}0.005{col 54}{space 4}-6.819514{col 67}{space 3}-1.228847
{txt}{space 6}caprat {c |}{col 14}{res}{space 2}  .210908{col 26}{space 2} .2882156{col 37}{space 1}    0.73{col 46}{space 3}0.464{col 54}{space 4}-.3539842{col 67}{space 3} .7758002
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2} .0305863{col 26}{space 2} .0109078{col 37}{space 1}    2.80{col 46}{space 3}0.005{col 54}{space 4} .0092073{col 67}{space 3} .0519653
{txt}{space 7}rival {c |}{col 14}{res}{space 2}-.5970078{col 26}{space 2} .1804695{col 37}{space 1}   -3.31{col 46}{space 3}0.001{col 54}{space 4}-.9507214{col 67}{space 3}-.2432941
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.8706099{col 26}{space 2} .1671966{col 37}{space 1}   -5.21{col 46}{space 3}0.000{col 54}{space 4}-1.198309{col 67}{space 3}-.5429105
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. firthlogit cow5yrwi mixed  jtdem caprat terrcount if rival==1 & territor==1

{txt}initial:       penalized log likelihood = {res}-375.55414
{txt}rescale:       penalized log likelihood = {res}-375.55414
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-375.55414{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-355.72152{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-352.99267{txt}  
Iteration 3:{col 16}penalized log likelihood = {res} -352.7086{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-352.69865{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-352.69862{txt}  

{col 51}Number of obs{col 67}= {res}       698
{txt}{col 51}Wald chi2({res}4{txt}){col 67}= {res}     26.15
{txt}Penalized log likelihood = {res}-352.69862{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2} .4650224{col 26}{space 2} .1870335{col 37}{space 1}    2.49{col 46}{space 3}0.013{col 54}{space 4} .0984435{col 67}{space 3} .8316014
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2}-3.574568{col 26}{space 2} 1.431582{col 37}{space 1}   -2.50{col 46}{space 3}0.013{col 54}{space 4}-6.380417{col 67}{space 3} -.768718
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .6988828{col 26}{space 2} .3417871{col 37}{space 1}    2.04{col 46}{space 3}0.041{col 54}{space 4} .0289923{col 67}{space 3} 1.368773
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2} .0246138{col 26}{space 2} .0110804{col 37}{space 1}    2.22{col 46}{space 3}0.026{col 54}{space 4} .0028965{col 67}{space 3}  .046331
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.729844{col 26}{space 2} .1972247{col 37}{space 1}   -8.77{col 46}{space 3}0.000{col 54}{space 4}-2.116397{col 67}{space 3}-1.343291
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. firthlogit cowwar mixed  jtdem caprat terrcount rival if territor==1

{txt}initial:       penalized log likelihood = {res}-382.15577
{txt}rescale:       penalized log likelihood = {res}-382.15577
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-382.15577{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-358.54265{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-354.75718{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-354.38534{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-354.37032{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-354.37028{txt}  
Iteration 6:{col 16}penalized log likelihood = {res}-354.37028{txt}  

{col 51}Number of obs{col 67}= {res}       953
{txt}{col 51}Wald chi2({res}5{txt}){col 67}= {res}     42.19
{txt}Penalized log likelihood = {res}-354.37028{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2} .1151118{col 26}{space 2} .1918771{col 37}{space 1}    0.60{col 46}{space 3}0.549{col 54}{space 4}-.2609603{col 67}{space 3}  .491184
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2}-3.086921{col 26}{space 2} 1.428911{col 37}{space 1}   -2.16{col 46}{space 3}0.031{col 54}{space 4}-5.887536{col 67}{space 3}-.2863056
{txt}{space 6}caprat {c |}{col 14}{res}{space 2}-.1614389{col 26}{space 2} .3685717{col 37}{space 1}   -0.44{col 46}{space 3}0.661{col 54}{space 4}-.8838262{col 67}{space 3} .5609484
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}-.0244611{col 26}{space 2} .0184926{col 37}{space 1}   -1.32{col 46}{space 3}0.186{col 54}{space 4}-.0607059{col 67}{space 3} .0117836
{txt}{space 7}rival {c |}{col 14}{res}{space 2}-1.002748{col 26}{space 2} .2113221{col 37}{space 1}   -4.75{col 46}{space 3}0.000{col 54}{space 4}-1.416931{col 67}{space 3}-.5885642
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.9116734{col 26}{space 2} .1865342{col 37}{space 1}   -4.89{col 46}{space 3}0.000{col 54}{space 4}-1.277274{col 67}{space 3} -.546073
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. firthlogit cowwar mixed  jtdem caprat terrcount if rival==1 & territor==1

{txt}initial:       penalized log likelihood = {res}-220.47931
{txt}rescale:       penalized log likelihood = {res}-220.47931
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-220.47931{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-215.35187{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-214.53408{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-214.49645{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-214.49621{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-214.49621{txt}  

{col 51}Number of obs{col 67}= {res}       698
{txt}{col 51}Wald chi2({res}4{txt}){col 67}= {res}      6.72
{txt}Penalized log likelihood = {res}-214.49621{txt}{col 51}Prob > chi2{col 67}= {res}    0.1515

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}mixed {c |}{col 14}{res}{space 2} .3347031{col 26}{space 2} .2551063{col 37}{space 1}    1.31{col 46}{space 3}0.190{col 54}{space 4} -.165296{col 67}{space 3} .8347022
{txt}{space 7}jtdem {c |}{col 14}{res}{space 2}-2.242098{col 26}{space 2} 1.436899{col 37}{space 1}   -1.56{col 46}{space 3}0.119{col 54}{space 4}-5.058369{col 67}{space 3} .5741732
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .3047611{col 26}{space 2} .4714002{col 37}{space 1}    0.65{col 46}{space 3}0.518{col 54}{space 4}-.6191664{col 67}{space 3} 1.228689
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}-.0288589{col 26}{space 2} .0186027{col 37}{space 1}   -1.55{col 46}{space 3}0.121{col 54}{space 4}-.0653195{col 67}{space 3} .0076018
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.168546{col 26}{space 2} .2653017{col 37}{space 1}   -8.17{col 46}{space 3}0.000{col 54}{space 4}-2.688528{col 67}{space 3}-1.648564
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. clear
{txt}
{com}. 
. use "Wright_Diehl_2014_JCR_1946-1999.dta"
{txt}
{com}. 
. 
. 
. *Table 3
. tab demboss cow5yrwi  if  wmixed!=. & territor==1 & wjdem !=. & demboss!=. & demjunta !=. & demmachine!=. & demstrong!=. & caprat!=. & terrcount!=. & rival !=., expected chi2
{txt}
{c TLC}{hline 20}{c TRC}
{c |} Key{col 22}{c |}
{c LT}{hline 20}{c RT}
{c |}{space 5}{it:frequency}{col 22}{c |}
{c |}{space 1}{it:expected frequency}{col 22}{c |}
{c BLC}{hline 20}{c BRC}

Democratic {c |}
     -Boss {c |} War within 5 year of
dyad-Weeks {c |}      current MID
      data {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       405         87 {txt}{c |}{res}       492 
           {txt}{c |}{res}     394.3       97.7 {txt}{c |}{res}     492.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}        59         28 {txt}{c |}{res}        87 
           {txt}{c |}{res}      69.7       17.3 {txt}{c |}{res}      87.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       464        115 {txt}{c |}{res}       579 
           {txt}{c |}{res}     464.0      115.0 {txt}{c |}{res}     579.0 

{txt}          Pearson chi2({res}1{txt}) = {res}  9.7666  {txt} Pr = {res}0.002
{txt}
{com}. 
. tab  demjunta  cow5yrwi if  wmixed!=. & territor==1 & wjdem !=. & demboss!=. & demjunta !=. & demmachine!=. & demstrong!=. & caprat!=. & terrcount!=. & rival !=., expected chi2
{txt}
{c TLC}{hline 20}{c TRC}
{c |} Key{col 22}{c |}
{c LT}{hline 20}{c RT}
{c |}{space 5}{it:frequency}{col 22}{c |}
{c |}{space 1}{it:expected frequency}{col 22}{c |}
{c BLC}{hline 20}{c BRC}

Democratic {c |}
    -Junta {c |} War within 5 year of
dyad-Weeks {c |}      current MID
      data {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       442        114 {txt}{c |}{res}       556 
           {txt}{c |}{res}     445.6      110.4 {txt}{c |}{res}     556.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}        22          1 {txt}{c |}{res}        23 
           {txt}{c |}{res}      18.4        4.6 {txt}{c |}{res}      23.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       464        115 {txt}{c |}{res}       579 
           {txt}{c |}{res}     464.0      115.0 {txt}{c |}{res}     579.0 

{txt}          Pearson chi2({res}1{txt}) = {res}  3.6218  {txt} Pr = {res}0.057
{txt}
{com}. 
. tab  demmachine cow5yrwi  if  wmixed!=. & territor==1 & wjdem !=. & demboss!=. & demjunta !=. & demmachine!=. & demstrong!=. & caprat!=. & terrcount!=. & rival !=., expected chi2
{txt}
{c TLC}{hline 20}{c TRC}
{c |} Key{col 22}{c |}
{c LT}{hline 20}{c RT}
{c |}{space 5}{it:frequency}{col 22}{c |}
{c |}{space 1}{it:expected frequency}{col 22}{c |}
{c BLC}{hline 20}{c BRC}

Democratic {c |}
  -Machine {c |} War within 5 year of
dyad-Weeks {c |}      current MID
      data {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       430        115 {txt}{c |}{res}       545 
           {txt}{c |}{res}     436.8      108.2 {txt}{c |}{res}     545.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}        34          0 {txt}{c |}{res}        34 
           {txt}{c |}{res}      27.2        6.8 {txt}{c |}{res}      34.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       464        115 {txt}{c |}{res}       579 
           {txt}{c |}{res}     464.0      115.0 {txt}{c |}{res}     579.0 

{txt}          Pearson chi2({res}1{txt}) = {res}  8.9524  {txt} Pr = {res}0.003
{txt}
{com}. 
. tab demstrong cow5yrwi  if  wmixed!=. & territor==1 & wjdem !=. & demboss!=. & demjunta !=. & demmachine!=. & demstrong!=. & caprat!=. & terrcount!=. & rival !=., expected chi2
{txt}
{c TLC}{hline 20}{c TRC}
{c |} Key{col 22}{c |}
{c LT}{hline 20}{c RT}
{c |}{space 5}{it:frequency}{col 22}{c |}
{c |}{space 1}{it:expected frequency}{col 22}{c |}
{c BLC}{hline 20}{c BRC}

Democratic {c |}
-Strongman {c |} War within 5 year of
dyad-Weeks {c |}      current MID
      data {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       441         81 {txt}{c |}{res}       522 
           {txt}{c |}{res}     418.3      103.7 {txt}{c |}{res}     522.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}        23         34 {txt}{c |}{res}        57 
           {txt}{c |}{res}      45.7       11.3 {txt}{c |}{res}      57.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       464        115 {txt}{c |}{res}       579 
           {txt}{c |}{res}     464.0      115.0 {txt}{c |}{res}     579.0 

{txt}          Pearson chi2({res}1{txt}) = {res} 62.8801  {txt} Pr = {res}0.000
{txt}
{com}. 
. tab wjdem cow5yrwi  if  wmixed!=. & territor==1 & wjdem !=. & demboss!=. & demjunta !=. & demmachine!=. & demstrong!=. & caprat!=. & terrcount!=. & rival !=., expected chi2
{txt}
{c TLC}{hline 20}{c TRC}
{c |} Key{col 22}{c |}
{c LT}{hline 20}{c RT}
{c |}{space 5}{it:frequency}{col 22}{c |}
{c |}{space 1}{it:expected frequency}{col 22}{c |}
{c BLC}{hline 20}{c BRC}

     Joint {c |} War within 5 year of
democracy- {c |}      current MID
Weeks data {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       412        115 {txt}{c |}{res}       527 
           {txt}{c |}{res}     422.3      104.7 {txt}{c |}{res}     527.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}        52          0 {txt}{c |}{res}        52 
           {txt}{c |}{res}      41.7       10.3 {txt}{c |}{res}      52.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       464        115 {txt}{c |}{res}       579 
           {txt}{c |}{res}     464.0      115.0 {txt}{c |}{res}     579.0 

{txt}          Pearson chi2({res}1{txt}) = {res} 14.1596  {txt} Pr = {res}0.000
{txt}
{com}. 
. tab wmixed cow5yrwi  if  wmixed!=. & territor==1 & wjdem !=. & demboss!=. & demjunta !=. & demmachine!=. & demstrong!=. & caprat!=. & terrcount!=. & rival !=., expected chi2
{txt}
{c TLC}{hline 20}{c TRC}
{c |} Key{col 22}{c |}
{c LT}{hline 20}{c RT}
{c |}{space 5}{it:frequency}{col 22}{c |}
{c |}{space 1}{it:expected frequency}{col 22}{c |}
{c BLC}{hline 20}{c BRC}

         1 {c |}
democracy, {c |}
         1 {c |} War within 5 year of
autocracy- {c |}      current MID
Weeks data {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       245         30 {txt}{c |}{res}       275 
           {txt}{c |}{res}     220.4       54.6 {txt}{c |}{res}     275.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}       219         85 {txt}{c |}{res}       304 
           {txt}{c |}{res}     243.6       60.4 {txt}{c |}{res}     304.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       464        115 {txt}{c |}{res}       579 
           {txt}{c |}{res}     464.0      115.0 {txt}{c |}{res}     579.0 

{txt}          Pearson chi2({res}1{txt}) = {res} 26.3749  {txt} Pr = {res}0.000
{txt}
{com}. 
. tab jtauto  cow5yrwi if  wmixed!=. & territor==1 & wjdem!=. & demboss!=. & demjunta !=. & demmachine!=. & demstrong!=. & caprat!=. & terrcount!=. & rival !=., expected chi2
{txt}
{c TLC}{hline 20}{c TRC}
{c |} Key{col 22}{c |}
{c LT}{hline 20}{c RT}
{c |}{space 5}{it:frequency}{col 22}{c |}
{c |}{space 1}{it:expected frequency}{col 22}{c |}
{c BLC}{hline 20}{c BRC}

    1=both {c |}
  states 5 {c |} War within 5 year of
  or below {c |}      current MID
on polity2 {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       271         85 {txt}{c |}{res}       356 
           {txt}{c |}{res}     285.3       70.7 {txt}{c |}{res}     356.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
         1 {c |}{res}       193         30 {txt}{c |}{res}       223 
           {txt}{c |}{res}     178.7       44.3 {txt}{c |}{res}     223.0 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       464        115 {txt}{c |}{res}       579 
           {txt}{c |}{res}     464.0      115.0 {txt}{c |}{res}     579.0 

{txt}          Pearson chi2({res}1{txt}) = {res}  9.3593  {txt} Pr = {res}0.002
{txt}
{com}. 
. 
. *Table 4
. 
. logit cow5yrwi  demboss demjunta demstrong   wmixed caprat terrcount rival  if territor==1 

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-288.62051}  
Iteration 1:{space 3}log likelihood = {res: -250.7721}  
Iteration 2:{space 3}log likelihood = {res:-246.60704}  
Iteration 3:{space 3}log likelihood = {res:-246.51705}  
Iteration 4:{space 3}log likelihood = {res:-246.51689}  
Iteration 5:{space 3}log likelihood = {res:-246.51689}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       579
{txt}{col 51}LR chi2({res}7{txt}){col 67}= {res}     84.21
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-246.51689{txt}{col 51}Pseudo R2{col 67}= {res}    0.1459

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}demboss {c |}{col 14}{res}{space 2} .9131631{col 26}{space 2} .3340028{col 37}{space 1}    2.73{col 46}{space 3}0.006{col 54}{space 4} .2585296{col 67}{space 3} 1.567797
{txt}{space 4}demjunta {c |}{col 14}{res}{space 2}-1.716508{col 26}{space 2} 1.058128{col 37}{space 1}   -1.62{col 46}{space 3}0.105{col 54}{space 4}-3.790401{col 67}{space 3} .3573859
{txt}{space 3}demstrong {c |}{col 14}{res}{space 2} 1.991727{col 26}{space 2}  .389665{col 37}{space 1}    5.11{col 46}{space 3}0.000{col 54}{space 4} 1.227998{col 67}{space 3} 2.755457
{txt}{space 6}wmixed {c |}{col 14}{res}{space 2} .5561796{col 26}{space 2} .3092511{col 37}{space 1}    1.80{col 46}{space 3}0.072{col 54}{space 4}-.0499414{col 67}{space 3} 1.162301
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} 1.038187{col 26}{space 2} .4172502{col 37}{space 1}    2.49{col 46}{space 3}0.013{col 54}{space 4} .2203912{col 67}{space 3} 1.855982
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2} .0121772{col 26}{space 2} .0153786{col 37}{space 1}    0.79{col 46}{space 3}0.428{col 54}{space 4}-.0179642{col 67}{space 3} .0423187
{txt}{space 7}rival {c |}{col 14}{res}{space 2} -.667695{col 26}{space 2} .2974102{col 37}{space 1}   -2.25{col 46}{space 3}0.025{col 54}{space 4}-1.250608{col 67}{space 3}-.0847816
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.123628{col 26}{space 2} .3127937{col 37}{space 1}   -6.79{col 46}{space 3}0.000{col 54}{space 4}-2.736693{col 67}{space 3}-1.510564
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimates store weeksmodel_1
{txt}
{com}. logit cow5yrwi  demboss demjunta demstrong   wmixed caprat terrcount  if territor==1  & rival==1

{res}{txt}Iteration 0:{space 3}log likelihood = {res: -227.3852}  
Iteration 1:{space 3}log likelihood = {res:-193.10277}  
Iteration 2:{space 3}log likelihood = {res:-188.71977}  
Iteration 3:{space 3}log likelihood = {res:-188.60572}  
Iteration 4:{space 3}log likelihood = {res:-188.60567}  
Iteration 5:{space 3}log likelihood = {res:-188.60567}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       460
{txt}{col 51}LR chi2({res}6{txt}){col 67}= {res}     77.56
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-188.60567{txt}{col 51}Pseudo R2{col 67}= {res}    0.1705

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}demboss {c |}{col 14}{res}{space 2} .3168553{col 26}{space 2} .3791318{col 37}{space 1}    0.84{col 46}{space 3}0.403{col 54}{space 4}-.4262293{col 67}{space 3}  1.05994
{txt}{space 4}demjunta {c |}{col 14}{res}{space 2} -1.76501{col 26}{space 2} 1.073191{col 37}{space 1}   -1.64{col 46}{space 3}0.100{col 54}{space 4}-3.868427{col 67}{space 3} .3384061
{txt}{space 3}demstrong {c |}{col 14}{res}{space 2} 1.810972{col 26}{space 2}  .397686{col 37}{space 1}    4.55{col 46}{space 3}0.000{col 54}{space 4} 1.031522{col 67}{space 3} 2.590422
{txt}{space 6}wmixed {c |}{col 14}{res}{space 2} .9888575{col 26}{space 2} .3508872{col 37}{space 1}    2.82{col 46}{space 3}0.005{col 54}{space 4} .3011312{col 67}{space 3} 1.676584
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} 1.329901{col 26}{space 2} .4894415{col 37}{space 1}    2.72{col 46}{space 3}0.007{col 54}{space 4}  .370613{col 67}{space 3} 2.289189
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2} .0061865{col 26}{space 2} .0157931{col 37}{space 1}    0.39{col 46}{space 3}0.695{col 54}{space 4}-.0247673{col 67}{space 3} .0371404
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.992775{col 26}{space 2} .3427503{col 37}{space 1}   -8.73{col 46}{space 3}0.000{col 54}{space 4}-3.664553{col 67}{space 3}-2.320997
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimates store weeksmodel_2
{txt}
{com}. logit cowwar  demboss demjunta demstrong   wmixed caprat  terrcount rival if territor==1 

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-199.18556}  
Iteration 1:{space 3}log likelihood = {res:-184.15951}  
Iteration 2:{space 3}log likelihood = {res:-180.30929}  
Iteration 3:{space 3}log likelihood = {res:-180.29157}  
Iteration 4:{space 3}log likelihood = {res:-180.29157}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       579
{txt}{col 51}LR chi2({res}7{txt}){col 67}= {res}     37.79
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-180.29157{txt}{col 51}Pseudo R2{col 67}= {res}    0.0949

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}demboss {c |}{col 14}{res}{space 2} 1.569708{col 26}{space 2} .4321617{col 37}{space 1}    3.63{col 46}{space 3}0.000{col 54}{space 4} .7226866{col 67}{space 3} 2.416729
{txt}{space 4}demjunta {c |}{col 14}{res}{space 2}-.5833062{col 26}{space 2} 1.093908{col 37}{space 1}   -0.53{col 46}{space 3}0.594{col 54}{space 4}-2.727326{col 67}{space 3} 1.560713
{txt}{space 3}demstrong {c |}{col 14}{res}{space 2} .9735259{col 26}{space 2} .6110989{col 37}{space 1}    1.59{col 46}{space 3}0.111{col 54}{space 4} -.224206{col 67}{space 3} 2.171258
{txt}{space 6}wmixed {c |}{col 14}{res}{space 2}-.1511318{col 26}{space 2} .4145535{col 37}{space 1}   -0.36{col 46}{space 3}0.715{col 54}{space 4}-.9636417{col 67}{space 3} .6613781
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .2841079{col 26}{space 2} .5169051{col 37}{space 1}    0.55{col 46}{space 3}0.583{col 54}{space 4}-.7290075{col 67}{space 3} 1.297223
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}-.0207901{col 26}{space 2} .0235648{col 37}{space 1}   -0.88{col 46}{space 3}0.378{col 54}{space 4}-.0669763{col 67}{space 3} .0253961
{txt}{space 7}rival {c |}{col 14}{res}{space 2}-1.089251{col 26}{space 2} .3243872{col 37}{space 1}   -3.36{col 46}{space 3}0.001{col 54}{space 4}-1.725038{col 67}{space 3}-.4534639
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.656939{col 26}{space 2} .3272096{col 37}{space 1}   -5.06{col 46}{space 3}0.000{col 54}{space 4}-2.298258{col 67}{space 3} -1.01562
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimates store weeksmodel_3
{txt}
{com}. logit cowwar  demboss demjunta demstrong   wmixed caprat  terrcount if territor==1  & rival==1

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-131.14367}  
Iteration 1:{space 3}log likelihood = {res:-127.09769}  
Iteration 2:{space 3}log likelihood = {res:-126.61117}  
Iteration 3:{space 3}log likelihood = {res:-126.61051}  
Iteration 4:{space 3}log likelihood = {res:-126.61051}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       460
{txt}{col 51}LR chi2({res}6{txt}){col 67}= {res}      9.07
{txt}{col 51}Prob > chi2{col 67}= {res}    0.1699
{txt}Log likelihood = {res}-126.61051{txt}{col 51}Pseudo R2{col 67}= {res}    0.0346

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}demboss {c |}{col 14}{res}{space 2} .7488682{col 26}{space 2} .4826262{col 37}{space 1}    1.55{col 46}{space 3}0.121{col 54}{space 4}-.1970618{col 67}{space 3} 1.694798
{txt}{space 4}demjunta {c |}{col 14}{res}{space 2}-.4898145{col 26}{space 2} 1.100241{col 37}{space 1}   -0.45{col 46}{space 3}0.656{col 54}{space 4}-2.646246{col 67}{space 3} 1.666617
{txt}{space 3}demstrong {c |}{col 14}{res}{space 2}   .59389{col 26}{space 2} .6068243{col 37}{space 1}    0.98{col 46}{space 3}0.328{col 54}{space 4}-.5954638{col 67}{space 3} 1.783244
{txt}{space 6}wmixed {c |}{col 14}{res}{space 2} .4242965{col 26}{space 2} .4664484{col 37}{space 1}    0.91{col 46}{space 3}0.363{col 54}{space 4}-.4899256{col 67}{space 3} 1.338519
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .4283409{col 26}{space 2} .6487364{col 37}{space 1}    0.66{col 46}{space 3}0.509{col 54}{space 4}-.8431592{col 67}{space 3} 1.699841
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}  -.02628{col 26}{space 2} .0240088{col 37}{space 1}   -1.09{col 46}{space 3}0.274{col 54}{space 4}-.0733365{col 67}{space 3} .0207764
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.845114{col 26}{space 2} .4067048{col 37}{space 1}   -7.00{col 46}{space 3}0.000{col 54}{space 4} -3.64224{col 67}{space 3}-2.047987
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimates store weeksmodel_4
{txt}
{com}. outreg2 [weeksmodel*] using weeksmodels, nolabel tex replace bdec(3)
{txt}{stata `"shellout using `"weeksmodels.tex"'"':weeksmodels.tex}
{browse `"/Users/Twright11/Dropbox/Alabama Project/2012 Update"' :dir}{com} : {txt}{stata `"seeout using "weeksmodels.txt""':seeout}

{com}. 
. 
. *Figure 2 Probabilities (and first differences in appendix) 
. 
.   
. estsimp logit cow5yrwi  demboss demjunta demstrong   wmixed caprat terrcount if territor==1  & rival==1 

{txt}Iteration 0:   log likelihood = {res} -227.3852
{txt}Iteration 1:   log likelihood = {res}-193.10277
{txt}Iteration 2:   log likelihood = {res}-188.71977
{txt}Iteration 3:   log likelihood = {res}-188.60572
{txt}Iteration 4:   log likelihood = {res}-188.60567

{txt}Logistic regression                               Number of obs   = {res}       460
                                                  {txt}LR chi2({res}6{txt})      = {res}     77.56
                                                  {txt}Prob > chi2     = {res}    0.0000
{txt}Log likelihood = {res}-188.60567                       {txt}Pseudo R2       = {res}    0.1705

{txt}{hline 13}{c TT}{hline 64}
    cow5yrwi {c |}      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
{hline 13}{c +}{hline 64}
     demboss {c |}  {res} .3168553   .3791318     0.84   0.403    -.4262293     1.05994
    {txt}demjunta {c |}  {res} -1.76501   1.073182    -1.64   0.100    -3.868408    .3383874
   {txt}demstrong {c |}  {res} 1.810972    .397686     4.55   0.000     1.031522    2.590422
      {txt}wmixed {c |}  {res} .9888575   .3508872     2.82   0.005     .3011313    1.676584
      {txt}caprat {c |}  {res} 1.329901   .4894414     2.72   0.007     .3706133    2.289188
   {txt}terrcount {c |}  {res} .0061865   .0157931     0.39   0.695    -.0247673    .0371404
       {txt}_cons {c |}  {res}-2.992775   .3427502    -8.73   0.000    -3.664553   -2.320997
{txt}{hline 13}{c BT}{hline 64}

{res}Simulating main parameters.  Please wait....
% of simulations completed: 14% 28% 42% 57% 71% 85% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4 b5 b6 b7
{txt}
{com}. 
. setx demboss 0 demjunta 0 demstrong 0 wmixed 0 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, pr level(90)

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(cow5yrwi=0) |  {res} .9179791     .0185898     .8826524    .9448954
            {txt}Pr(cow5yrwi=1) |  {res} .0820209     .0185898     .0551046    .1173476
{txt}
{com}. 
. setx demboss 0 demjunta 0 demstrong 0 wmixed 1 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, pr level(90)

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(cow5yrwi=0) |  {res} .8080309     .0375437     .7411095    .8644465
            {txt}Pr(cow5yrwi=1) |  {res} .1919691     .0375437     .1355535    .2588904
{txt}
{com}. 
. setx demboss 1 demjunta 0 demstrong 0 wmixed 1 caprat (mean)  terrcount (mean)
{txt}
{com}. simqi, pr level(90)

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(cow5yrwi=0) |  {res} .7532687     .0536474     .6637686    .8361431
            {txt}Pr(cow5yrwi=1) |  {res} .2467313     .0536474     .1638569    .3362314
{txt}
{com}. 
. setx demboss 0 demjunta 1 demstrong 0 wmixed 1 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, pr level(90)

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(cow5yrwi=0) |  {res} .9408496     .0626341     .8209893     .992997
            {txt}Pr(cow5yrwi=1) |  {res} .0591504     .0626341      .007003    .1790107
{txt}
{com}. 
. setx demboss 0 demjunta 0 demstrong 1 wmixed 1 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, pr level(90)

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(cow5yrwi=0) |  {res} .4143791     .0737838     .2956561    .5363427
            {txt}Pr(cow5yrwi=1) |  {res} .5856209     .0737838     .4636573    .7043439
{txt}
{com}. 
. 
. *first differences (Figure 2 in Appendix)
. setx demboss 0 demjunta 0 demstrong 0 wmixed 0 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, fd(prval(1))  changex(demstrong 0 1) level(90)

{res}First Difference: demstrong 0 1

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(cow5yrwi = 1) |  {res} .2716896     .0922371     .1331704    .4374374
{txt}
{com}. 
. setx demboss 0 demjunta 0 demstrong 0 wmixed 0 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, fd(prval(1))  changex(demboss 0 1) level(90)

{res}First Difference: demboss 0 1

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(cow5yrwi = 1) |  {res} .0325565     .0400771    -.0204413    .1058677
{txt}
{com}. 
. setx demboss 0 demjunta 0 demstrong 0 wmixed 0 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, fd(prval(1))  changex(demjunta 0 1) level(90)

{res}First Difference: demjunta 0 1

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(cow5yrwi = 1) |  {res}-.0564328     .0345261    -.0975877    .0003436
{txt}
{com}. 
. setx demboss 0 demjunta 0 demstrong 0 wmixed 0 caprat (mean) terrcount (mean)
{txt}
{com}. simqi, fd(prval(1))  changex(wmixed 0 1) level(90)

{res}First Difference: wmixed 0 1

{txt}      Quantity of Interest |     Mean       Std. Err.    [90% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(cow5yrwi = 1) |  {res} .1099483     .0417452     .0469397     .182525
{txt}
{com}. 
. 
. drop b1 b2 b3 b4 b5 b6 b7
{txt}
{com}. 
. 
. 
. *Appendix Table 4
. 
. firthlogit cow5yrwi territor  terrXdemboss  terrXdemjunta terrXdemstrong terrXdemmachine terrXwjdem  demboss demjunta demstrong demmachine wjdem wmixed caprat   terrcount rival

{txt}initial:       penalized log likelihood = {res}-487.40807
{txt}rescale:       penalized log likelihood = {res}-487.40807
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-487.40807{txt}  
Iteration 1:{col 16}penalized log likelihood = {res} -445.1733{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-389.15466{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-376.22802{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-376.04121{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-376.03921{txt}  
Iteration 6:{col 16}penalized log likelihood = {res}-376.03921{txt}  

{col 51}Number of obs{col 67}= {res}      1629
{txt}{col 51}Wald chi2({res}15{txt}){col 67}= {res}    177.98
{txt}Penalized log likelihood = {res}-376.03921{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       cow5yrwi{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}territor {c |}{col 17}{res}{space 2} 1.567607{col 29}{space 2} .2788083{col 40}{space 1}    5.62{col 49}{space 3}0.000{col 57}{space 4} 1.021152{col 70}{space 3} 2.114061
{txt}{space 3}terrXdemboss {c |}{col 17}{res}{space 2} 1.778745{col 29}{space 2} .7321263{col 40}{space 1}    2.43{col 49}{space 3}0.015{col 57}{space 4} .3438043{col 70}{space 3} 3.213687
{txt}{space 2}terrXdemjunta {c |}{col 17}{res}{space 2}-1.708216{col 29}{space 2} 1.229395{col 40}{space 1}   -1.39{col 49}{space 3}0.165{col 57}{space 4}-4.117785{col 70}{space 3} .7013535
{txt}{space 1}terrXdemstrong {c |}{col 17}{res}{space 2} .7312918{col 29}{space 2}  .549426{col 40}{space 1}    1.33{col 49}{space 3}0.183{col 57}{space 4}-.3455634{col 70}{space 3} 1.808147
{txt}terrXdemmachine {c |}{col 17}{res}{space 2}-2.999736{col 29}{space 2}  1.50032{col 40}{space 1}   -2.00{col 49}{space 3}0.046{col 57}{space 4}-5.940309{col 70}{space 3}-.0591626
{txt}{space 5}terrXwjdem {c |}{col 17}{res}{space 2}-2.861322{col 29}{space 2} 1.669144{col 40}{space 1}   -1.71{col 49}{space 3}0.086{col 57}{space 4}-6.132784{col 70}{space 3} .4101403
{txt}{space 8}demboss {c |}{col 17}{res}{space 2}-1.076608{col 29}{space 2}  .697397{col 40}{space 1}   -1.54{col 49}{space 3}0.123{col 57}{space 4}-2.443481{col 70}{space 3} .2902647
{txt}{space 7}demjunta {c |}{col 17}{res}{space 2} .1671663{col 29}{space 2}  .887826{col 40}{space 1}    0.19{col 49}{space 3}0.851{col 57}{space 4}-1.572941{col 70}{space 3} 1.907273
{txt}{space 6}demstrong {c |}{col 17}{res}{space 2} .8573604{col 29}{space 2} .4928984{col 40}{space 1}    1.74{col 49}{space 3}0.082{col 57}{space 4}-.1087028{col 70}{space 3} 1.823423
{txt}{space 5}demmachine {c |}{col 17}{res}{space 2} .0945604{col 29}{space 2} .4696331{col 40}{space 1}    0.20{col 49}{space 3}0.840{col 57}{space 4}-.8259036{col 70}{space 3} 1.015024
{txt}{space 10}wjdem {c |}{col 17}{res}{space 2}-.1844169{col 29}{space 2} .8639698{col 40}{space 1}   -0.21{col 49}{space 3}0.831{col 57}{space 4}-1.877767{col 70}{space 3} 1.508933
{txt}{space 9}wmixed {c |}{col 17}{res}{space 2} .3749139{col 29}{space 2} .2643683{col 40}{space 1}    1.42{col 49}{space 3}0.156{col 57}{space 4}-.1432384{col 70}{space 3} .8930662
{txt}{space 9}caprat {c |}{col 17}{res}{space 2} .9734582{col 29}{space 2} .3489751{col 40}{space 1}    2.79{col 49}{space 3}0.005{col 57}{space 4} .2894796{col 70}{space 3} 1.657437
{txt}{space 6}terrcount {c |}{col 17}{res}{space 2} .0164764{col 29}{space 2} .0130688{col 40}{space 1}    1.26{col 49}{space 3}0.207{col 57}{space 4} -.009138{col 70}{space 3} .0420908
{txt}{space 10}rival {c |}{col 17}{res}{space 2}-.1408225{col 29}{space 2} .2358658{col 40}{space 1}   -0.60{col 49}{space 3}0.550{col 57}{space 4}-.6031109{col 70}{space 3}  .321466
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-3.684189{col 29}{space 2} .3173434{col 40}{space 1}  -11.61{col 49}{space 3}0.000{col 57}{space 4} -4.30617{col 70}{space 3}-3.062207
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. firthlogit cowwar territor  terrXdemboss  terrXdemjunta terrXdemstrong terrXdemmachine terrXwjdem  demboss demjunta demstrong demmachine wjdem wmixed caprat   terrcount rival

{txt}initial:       penalized log likelihood = {res}-300.96576
{txt}rescale:       penalized log likelihood = {res}-300.96576
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-300.96576{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-255.39931{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-243.43466{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-242.67201{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-242.63687{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-242.63676{txt}  
Iteration 6:{col 16}penalized log likelihood = {res}-242.63676{txt}  

{col 51}Number of obs{col 67}= {res}      1629
{txt}{col 51}Wald chi2({res}15{txt}){col 67}= {res}     89.53
{txt}Penalized log likelihood = {res}-242.63676{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         cowwar{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}territor {c |}{col 17}{res}{space 2} 2.048058{col 29}{space 2} .3811335{col 40}{space 1}    5.37{col 49}{space 3}0.000{col 57}{space 4}  1.30105{col 70}{space 3} 2.795066
{txt}{space 3}terrXdemboss {c |}{col 17}{res}{space 2} 2.700194{col 29}{space 2} 1.486375{col 40}{space 1}    1.82{col 49}{space 3}0.069{col 57}{space 4}-.2130469{col 70}{space 3} 5.613434
{txt}{space 2}terrXdemjunta {c |}{col 17}{res}{space 2}-.5746422{col 29}{space 2} 1.706369{col 40}{space 1}   -0.34{col 49}{space 3}0.736{col 57}{space 4}-3.919063{col 70}{space 3} 2.769779
{txt}{space 1}terrXdemstrong {c |}{col 17}{res}{space 2}-1.138611{col 29}{space 2} .7676855{col 40}{space 1}   -1.48{col 49}{space 3}0.138{col 57}{space 4}-2.643246{col 70}{space 3} .3660252
{txt}terrXdemmachine {c |}{col 17}{res}{space 2}-2.056317{col 29}{space 2} 1.608742{col 40}{space 1}   -1.28{col 49}{space 3}0.201{col 57}{space 4}-5.209393{col 70}{space 3} 1.096758
{txt}{space 5}terrXwjdem {c |}{col 17}{res}{space 2}-2.867069{col 29}{space 2} 1.690005{col 40}{space 1}   -1.70{col 49}{space 3}0.090{col 57}{space 4}-6.179418{col 70}{space 3} .4452809
{txt}{space 8}demboss {c |}{col 17}{res}{space 2}-1.434616{col 29}{space 2} 1.478455{col 40}{space 1}   -0.97{col 49}{space 3}0.332{col 57}{space 4}-4.332334{col 70}{space 3} 1.463102
{txt}{space 7}demjunta {c |}{col 17}{res}{space 2} .0365611{col 29}{space 2} 1.490947{col 40}{space 1}    0.02{col 49}{space 3}0.980{col 57}{space 4}-2.885641{col 70}{space 3} 2.958764
{txt}{space 6}demstrong {c |}{col 17}{res}{space 2} 1.678195{col 29}{space 2} .6466784{col 40}{space 1}    2.60{col 49}{space 3}0.009{col 57}{space 4} .4107288{col 70}{space 3} 2.945661
{txt}{space 5}demmachine {c |}{col 17}{res}{space 2} .2144715{col 29}{space 2} .7648395{col 40}{space 1}    0.28{col 49}{space 3}0.779{col 57}{space 4}-1.284586{col 70}{space 3} 1.713529
{txt}{space 10}wjdem {c |}{col 17}{res}{space 2} .4055329{col 29}{space 2} .8964779{col 40}{space 1}    0.45{col 49}{space 3}0.651{col 57}{space 4}-1.351531{col 70}{space 3} 2.162597
{txt}{space 9}wmixed {c |}{col 17}{res}{space 2}-.1300842{col 29}{space 2} .3630062{col 40}{space 1}   -0.36{col 49}{space 3}0.720{col 57}{space 4}-.8415632{col 70}{space 3} .5813949
{txt}{space 9}caprat {c |}{col 17}{res}{space 2} .5765136{col 29}{space 2} .4527627{col 40}{space 1}    1.27{col 49}{space 3}0.203{col 57}{space 4}-.3108851{col 70}{space 3} 1.463912
{txt}{space 6}terrcount {c |}{col 17}{res}{space 2}-.0145386{col 29}{space 2} .0203514{col 40}{space 1}   -0.71{col 49}{space 3}0.475{col 57}{space 4}-.0544265{col 70}{space 3} .0253493
{txt}{space 10}rival {c |}{col 17}{res}{space 2}-.6904878{col 29}{space 2} .2745269{col 40}{space 1}   -2.52{col 49}{space 3}0.012{col 57}{space 4}-1.228551{col 70}{space 3} -.152425
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-3.813435{col 29}{space 2} .4018676{col 40}{space 1}   -9.49{col 49}{space 3}0.000{col 57}{space 4}-4.601081{col 70}{space 3}-3.025789
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. *Appendix Table 5
. 
. firthlogit cow5yrwi  demboss demjunta demstrong demmachine wjdem   wmixed caprat  terrcount rival if territor==1  

{txt}initial:       penalized log likelihood = {res}-273.95304
{txt}rescale:       penalized log likelihood = {res}-273.95304
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-273.95304{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-229.42971{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-222.54965{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-221.74967{txt}  
Iteration 4:{col 16}penalized log likelihood = {res} -221.7148{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-221.71472{txt}  
Iteration 6:{col 16}penalized log likelihood = {res}-221.71472{txt}  

{col 51}Number of obs{col 67}= {res}       579
{txt}{col 51}Wald chi2({res}9{txt}){col 67}= {res}     69.52
{txt}Penalized log likelihood = {res}-221.71472{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}demboss {c |}{col 14}{res}{space 2} .5447288{col 26}{space 2} .3392728{col 37}{space 1}    1.61{col 46}{space 3}0.108{col 54}{space 4}-.1202337{col 67}{space 3} 1.209691
{txt}{space 4}demjunta {c |}{col 14}{res}{space 2}-1.761195{col 26}{space 2} .8932913{col 37}{space 1}   -1.97{col 46}{space 3}0.049{col 54}{space 4}-3.512014{col 67}{space 3}-.0103767
{txt}{space 3}demstrong {c |}{col 14}{res}{space 2} 1.548946{col 26}{space 2} .3882136{col 37}{space 1}    3.99{col 46}{space 3}0.000{col 54}{space 4} .7880613{col 67}{space 3} 2.309831
{txt}{space 2}demmachine {c |}{col 14}{res}{space 2}-3.013594{col 26}{space 2} 1.450977{col 37}{space 1}   -2.08{col 46}{space 3}0.038{col 54}{space 4}-5.857457{col 67}{space 3}-.1697314
{txt}{space 7}wjdem {c |}{col 14}{res}{space 2}-2.932769{col 26}{space 2} 1.438393{col 37}{space 1}   -2.04{col 46}{space 3}0.041{col 54}{space 4}-5.751968{col 67}{space 3}-.1135697
{txt}{space 6}wmixed {c |}{col 14}{res}{space 2} .6514409{col 26}{space 2}  .318058{col 37}{space 1}    2.05{col 46}{space 3}0.041{col 54}{space 4} .0280587{col 67}{space 3} 1.274823
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} 1.242511{col 26}{space 2}  .439744{col 37}{space 1}    2.83{col 46}{space 3}0.005{col 54}{space 4} .3806284{col 67}{space 3} 2.104393
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2} .0136788{col 26}{space 2} .0158311{col 37}{space 1}    0.86{col 46}{space 3}0.388{col 54}{space 4}-.0173496{col 67}{space 3} .0447073
{txt}{space 7}rival {c |}{col 14}{res}{space 2}-.5405178{col 26}{space 2} .2949128{col 37}{space 1}   -1.83{col 46}{space 3}0.067{col 54}{space 4}-1.118536{col 67}{space 3} .0375007
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.014395{col 26}{space 2}  .319086{col 37}{space 1}   -6.31{col 46}{space 3}0.000{col 54}{space 4}-2.639792{col 67}{space 3}-1.388998
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. firthlogit cow5yrwi  demboss demjunta demstrong  demmachine wjdem  wmixed caprat  terrcount if territor==1 & rival==1, 

{txt}initial:       penalized log likelihood = {res}-214.90592
{txt}rescale:       penalized log likelihood = {res}-214.90592
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-214.90592{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-173.08496{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-166.34645{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-165.64887{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-165.63264{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-165.63263{txt}  

{col 51}Number of obs{col 67}= {res}       460
{txt}{col 51}Wald chi2({res}8{txt}){col 67}= {res}     64.86
{txt}Penalized log likelihood = {res}-165.63263{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    cow5yrwi{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}demboss {c |}{col 14}{res}{space 2}-.1970568{col 26}{space 2} .3879921{col 37}{space 1}   -0.51{col 46}{space 3}0.612{col 54}{space 4}-.9575072{col 67}{space 3} .5633937
{txt}{space 4}demjunta {c |}{col 14}{res}{space 2}-2.057227{col 26}{space 2} .9245767{col 37}{space 1}   -2.23{col 46}{space 3}0.026{col 54}{space 4}-3.869364{col 67}{space 3}-.2450904
{txt}{space 3}demstrong {c |}{col 14}{res}{space 2} 1.305204{col 26}{space 2} .3979143{col 37}{space 1}    3.28{col 46}{space 3}0.001{col 54}{space 4} .5253066{col 67}{space 3} 2.085102
{txt}{space 2}demmachine {c |}{col 14}{res}{space 2} -3.50125{col 26}{space 2} 1.456739{col 37}{space 1}   -2.40{col 46}{space 3}0.016{col 54}{space 4}-6.356405{col 67}{space 3}-.6460952
{txt}{space 7}wjdem {c |}{col 14}{res}{space 2}-2.511805{col 26}{space 2}  1.45242{col 37}{space 1}   -1.73{col 46}{space 3}0.084{col 54}{space 4}-5.358495{col 67}{space 3} .3348851
{txt}{space 6}wmixed {c |}{col 14}{res}{space 2}  1.22204{col 26}{space 2} .3664128{col 37}{space 1}    3.34{col 46}{space 3}0.001{col 54}{space 4} .5038847{col 67}{space 3} 1.940196
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} 1.711451{col 26}{space 2} .5305025{col 37}{space 1}    3.23{col 46}{space 3}0.001{col 54}{space 4} .6716851{col 67}{space 3} 2.751217
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}  .002753{col 26}{space 2} .0163483{col 37}{space 1}    0.17{col 46}{space 3}0.866{col 54}{space 4}-.0292892{col 67}{space 3} .0347951
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.811782{col 26}{space 2} .3418922{col 37}{space 1}   -8.22{col 46}{space 3}0.000{col 54}{space 4}-3.481878{col 67}{space 3}-2.141685
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. firthlogit cowwar  demboss demjunta demstrong  demmachine wjdem  wmixed caprat  terrcount rival if territor==1  

{txt}initial:       penalized log likelihood = {res}-186.99597
{txt}rescale:       penalized log likelihood = {res}-186.99597
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-186.99597{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-170.55727{txt}  
Iteration 2:{col 16}penalized log likelihood = {res}-164.85414{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-164.63259{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-164.62859{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-164.62858{txt}  

{col 51}Number of obs{col 67}= {res}       579
{txt}{col 51}Wald chi2({res}9{txt}){col 67}= {res}     34.48
{txt}Penalized log likelihood = {res}-164.62858{txt}{col 51}Prob > chi2{col 67}= {res}    0.0001

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}demboss {c |}{col 14}{res}{space 2} 1.254287{col 26}{space 2} .4291087{col 37}{space 1}    2.92{col 46}{space 3}0.003{col 54}{space 4} .4132495{col 67}{space 3} 2.095325
{txt}{space 4}demjunta {c |}{col 14}{res}{space 2}-.5410611{col 26}{space 2} .9273055{col 37}{space 1}   -0.58{col 46}{space 3}0.560{col 54}{space 4}-2.358546{col 67}{space 3} 1.276424
{txt}{space 3}demstrong {c |}{col 14}{res}{space 2} .6063209{col 26}{space 2} .5983515{col 37}{space 1}    1.01{col 46}{space 3}0.311{col 54}{space 4}-.5664265{col 67}{space 3} 1.779068
{txt}{space 2}demmachine {c |}{col 14}{res}{space 2}-1.757924{col 26}{space 2} 1.471826{col 37}{space 1}   -1.19{col 46}{space 3}0.232{col 54}{space 4} -4.64265{col 67}{space 3} 1.126802
{txt}{space 7}wjdem {c |}{col 14}{res}{space 2}-2.424843{col 26}{space 2} 1.442062{col 37}{space 1}   -1.68{col 46}{space 3}0.093{col 54}{space 4}-5.251234{col 67}{space 3} .4015469
{txt}{space 6}wmixed {c |}{col 14}{res}{space 2}-.0633454{col 26}{space 2}  .412225{col 37}{space 1}   -0.15{col 46}{space 3}0.878{col 54}{space 4}-.8712915{col 67}{space 3} .7446007
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .3999196{col 26}{space 2} .5310651{col 37}{space 1}    0.75{col 46}{space 3}0.451{col 54}{space 4}-.6409489{col 67}{space 3} 1.440788
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}-.0129376{col 26}{space 2} .0234257{col 37}{space 1}   -0.55{col 46}{space 3}0.581{col 54}{space 4}-.0588512{col 67}{space 3}  .032976
{txt}{space 7}rival {c |}{col 14}{res}{space 2}-1.030036{col 26}{space 2} .3198241{col 37}{space 1}   -3.22{col 46}{space 3}0.001{col 54}{space 4} -1.65688{col 67}{space 3}-.4031924
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} -1.51811{col 26}{space 2} .3307521{col 37}{space 1}   -4.59{col 46}{space 3}0.000{col 54}{space 4}-2.166372{col 67}{space 3} -.869848
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. firthlogit cowwar  demboss demjunta demstrong demmachine wjdem   wmixed caprat  terrcount if territor==1 &  rival==1, 

{txt}initial:       penalized log likelihood = {res}-121.95263
{txt}rescale:       penalized log likelihood = {res}-121.95263
{txt}Iteration 0:{col 16}penalized log likelihood = {res}-121.95263{txt}  
Iteration 1:{col 16}penalized log likelihood = {res}-115.29832{txt}  
Iteration 2:{col 16}penalized log likelihood = {res} -113.9599{txt}  
Iteration 3:{col 16}penalized log likelihood = {res}-113.91265{txt}  
Iteration 4:{col 16}penalized log likelihood = {res}-113.91257{txt}  
Iteration 5:{col 16}penalized log likelihood = {res}-113.91257{txt}  

{col 51}Number of obs{col 67}= {res}       460
{txt}{col 51}Wald chi2({res}8{txt}){col 67}= {res}     10.90
{txt}Penalized log likelihood = {res}-113.91257{txt}{col 51}Prob > chi2{col 67}= {res}    0.2074

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}      cowwar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}demboss {c |}{col 14}{res}{space 2} .3153756{col 26}{space 2} .4789828{col 37}{space 1}    0.66{col 46}{space 3}0.510{col 54}{space 4}-.6234135{col 67}{space 3} 1.254165
{txt}{space 4}demjunta {c |}{col 14}{res}{space 2}-.6491327{col 26}{space 2} .9453052{col 37}{space 1}   -0.69{col 46}{space 3}0.492{col 54}{space 4}-2.501897{col 67}{space 3} 1.203632
{txt}{space 3}demstrong {c |}{col 14}{res}{space 2} .1535372{col 26}{space 2} .5864539{col 37}{space 1}    0.26{col 46}{space 3}0.793{col 54}{space 4}-.9958913{col 67}{space 3} 1.302966
{txt}{space 2}demmachine {c |}{col 14}{res}{space 2}-2.329025{col 26}{space 2} 1.471746{col 37}{space 1}   -1.58{col 46}{space 3}0.114{col 54}{space 4}-5.213595{col 67}{space 3} .5555443
{txt}{space 7}wjdem {c |}{col 14}{res}{space 2}-1.731236{col 26}{space 2} 1.461028{col 37}{space 1}   -1.18{col 46}{space 3}0.236{col 54}{space 4}-4.594798{col 67}{space 3} 1.132327
{txt}{space 6}wmixed {c |}{col 14}{res}{space 2} .6385275{col 26}{space 2} .4656547{col 37}{space 1}    1.37{col 46}{space 3}0.170{col 54}{space 4}-.2741391{col 67}{space 3} 1.551194
{txt}{space 6}caprat {c |}{col 14}{res}{space 2} .6666527{col 26}{space 2} .6662892{col 37}{space 1}    1.00{col 46}{space 3}0.317{col 54}{space 4}-.6392503{col 67}{space 3} 1.972556
{txt}{space 3}terrcount {c |}{col 14}{res}{space 2}-.0227099{col 26}{space 2} .0238126{col 37}{space 1}   -0.95{col 46}{space 3}0.340{col 54}{space 4}-.0693817{col 67}{space 3} .0239619
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.679564{col 26}{space 2} .3962331{col 37}{space 1}   -6.76{col 46}{space 3}0.000{col 54}{space 4}-3.456167{col 67}{space 3}-1.902962
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/Twright11/Dropbox/Alabama Project/2012 Update/WrightDiehl_JCRreplication_Jul3_2014.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 3 Jul 2014, 15:35:24
{txt}{.-}
{smcl}
{txt}{sf}{ul off}